package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 施工投诉对象 construction_complaint
 * 
 * @author ruoyi
 * @date 2021-06-22
 */
public class ConstructionComplaint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long ccId;

    /** 标题 */
    @Excel(name = "标题")
    private String ccTitle;

    /** 内容 */
    @Excel(name = "内容")
    private String ccContent;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date ccCreattiem;

    /** 发起人 */
    @Excel(name = "发起人")
    private Long ccUserid;

    /** 投诉位置 */
    @Excel(name = "投诉位置")
    private String ccAddress;
    /** 投诉附件 */
    @Excel(name = "投诉附件")
    private ComplaintCertificate complaintCertificate;

    public ComplaintCertificate getComplaintCertificate() {
        return complaintCertificate;
    }

    public void setComplaintCertificate(ComplaintCertificate complaintCertificate) {
        this.complaintCertificate = complaintCertificate;
    }

    public void setCcId(Long ccId)
    {
        this.ccId = ccId;
    }

    public Long getCcId() 
    {
        return ccId;
    }
    public void setCcTitle(String ccTitle) 
    {
        this.ccTitle = ccTitle;
    }

    public String getCcTitle() 
    {
        return ccTitle;
    }
    public void setCcContent(String ccContent) 
    {
        this.ccContent = ccContent;
    }

    public String getCcContent() 
    {
        return ccContent;
    }
    public void setCcCreattiem(Date ccCreattiem) 
    {
        this.ccCreattiem = ccCreattiem;
    }

    public Date getCcCreattiem() 
    {
        return ccCreattiem;
    }
    public void setCcUserid(Long ccUserid) 
    {
        this.ccUserid = ccUserid;
    }

    public Long getCcUserid() 
    {
        return ccUserid;
    }
    public void setCcAddress(String ccAddress) 
    {
        this.ccAddress = ccAddress;
    }

    public String getCcAddress() 
    {
        return ccAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ccId", getCcId())
            .append("ccTitle", getCcTitle())
            .append("ccContent", getCcContent())
            .append("ccCreattiem", getCcCreattiem())
            .append("ccUserid", getCcUserid())
            .append("ccAddress", getCcAddress())
            .toString();
    }
}
